package my.rest.resources.model;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class VehicleModelInfo {

	private String model;
	
	private String info;

	/**
	 * @return the model
	 */
	public String getModel() {
		return model;
	}

	/**
	 * @param model the model to set
	 */
	public void setModel(String model) {
		this.model = model;
	}

	/**
	 * @return the info
	 */
	public String getInfo() {
		return info;
	}

	/**
	 * @param info the info to set
	 */
	public void setInfo(String info) {
		this.info = info;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return String.format("VehicleModelInfo [model=%s, info=%s]", model,
				info);
	}
	
}
